package com.qf.lanzhou.shop.api.service.impl;

import com.qf.lanzhou.shop.api.dao.CommentMapper;
import com.qf.lanzhou.shop.api.service.CommentService;
import com.qf.lanzhou.shop.pojo.entity.Comment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Nerly
 * @Date 2021/1/11 10:25
 * @JDK 1.8
 * @Version 1.0
 */
@Service
public class CommentServiceImpl implements CommentService {
    @Autowired
    private CommentMapper commentMapper;

    @Override
    public void insertComment(Comment comment) {
        commentMapper.insertComment(comment);
    }
}
